﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;

namespace Qiang.Styles
{
    public class LabelSymbol : ILabelSymbol
    {

        /// <summary>
        /// 
        /// </summary>
        public LabelSymbol()
        {
            _style = new LabelStyle();
        }


        ILabelStyle _style;

        /// <summary>
        /// 
        /// </summary>
        public ILabelStyle Style
        {
            get { return _style; }
            set { _style = value; }
        }

       


        /// <summary>
        /// 
        /// </summary>
        /// <param name="g"></param>
        /// <param name="str"></param>
        /// <param name="position"></param>
        public void DrawString(Graphics g, string str, PointF position)
        {
            _style.DrawString(g, str, position);
        }


    }
}
